<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@ include file="/WEB-INF/jsp/common/meta.jsp"%>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>用户状态变更</title>
</head>
<body>
<div class="easyui-layout" fit=true>
    <div data-options="region:'center',title:'用户状态变更',border:false" style="padding: 0px;">
        <table singleSelect=true fit=true id="SysUserStateChange_datagrid"
               fitColumns=true rownumbers="true" toolbar="#SysUserStateChange_toolbar" pagination="true"
               pageSize="${defaultPageSize}" pageList="${defaultPageList}"
               data-options="url:'${ctx}/sys/sysUserStateChange/list'">
            <thead>
            <tr>
                <th data-options="field:'accountId',hidden:true,width:200">账号ID</th>
                <th data-options="field:'sysAccount.loginName',width:150">登录名</th>
                <!-- <th data-options="field:'sysAccount.sysUser.userName',width:150">用户名</th> -->
                <th data-options="field:'type',width:150,formatter:HgUtil.fieldFormatterFunc('sysUserStateChangeType')" align=center >状态类型</th>
                <th data-options="field:'ip',width:150" >调用IP</th>
                <th data-options="field:'originState',width:150,formatter:HgUtil.fieldFormatterFunc('userStateType')" align=center >原状态</th>
                <th data-options="field:'currentState',width:150,formatter:HgUtil.fieldFormatterFunc('userStateType')" align=center >现状态</th>
                <th data-options="field:'crtType',width:150,formatter:HgUtil.fieldFormatterFunc('crtTypeUserStateChange')" align=center >变更方式</th>
                <th data-options="field:'descr',width:150" >描述</th>
                <th data-options="field:'isCurrent',width:150,formatter:HgUtil.fieldFormatterFunc('trueOrFalse')" align=center">是否当前状态</th>
                <th data-options="field:'crtTime',width:150,formatter:HgUtil.formatToDateTime" >创建时间</th>
            </tr>
            </thead>
        </table>
        <div id="SysUserStateChange_toolbar" tag=listen_hotkey>
            <!-- <table>
                <tr>
                    <td><a class="easyui-linkbutton" iconCls="icon_clear" plain="true" tag="clear">清空查询</a></td>
                </tr>
            </table> -->
            <div class="hgGridSearchBar"
				style="height: 50px; width: 100%;display:block;" tag="queryDiv">
				<form id="SysUserStateChangeSearchForm">
					<table width="100%">
						<tr>
							<!-- <td align="right"><span>用户名：</span></td>
							<td><input name="userName" style="width: 100px;"/></td> -->
							<td align="right"><span>登录名：</span></td>
							<td><input name="loginName" style="width: 100px;"/></td>
							<td align="right"><span>状态类型：</span></td>
	                        <td>
	                        	<input class="easyui-combobox" id="type"  name="type" style="width: 100px;">
	                        </td>
	                        <td align="right"><span>调用IP：</span></td>
	                        <td><input name="ip" style="width: 100px;"/></td>
	                        <td align="right"><span>原状态：</span></td>
							<td>
								<input class="easyui-combobox" id="originState"  name="originState" style="width: 100px;">
							</td>
							<td align="right"><span>现状态：</span></td>
							<td>
								<input class="easyui-combobox" id="currentState"  name="currentState" style="width: 100px;">
							</td>
	                        <td width="100px"></td>
	                        <td rowspan="2" style="text-align: right; padding-right: 15px;">
	                            <a class="easyui-linkbutton" iconCls="icon-search" tag="submit">查询</a>
	                            <a class="easyui-linkbutton" iconCls="icon_clear" tag="clear">清空</a>
	                         </td>
						</tr>
						<tr>
						    <td align="right"><span>变更方式：</span></td>
							<td>
								<input class="easyui-combobox" id="crtType"  name="crtType" style="width: 100px;">
							</td>
							<td align="right"><span>描述：</span></td>
	                        <td><input name="descr" style="width: 100px;"/></td>
	                        <td align="right"><span>是否当前状态：</span></td>
							<td>
								<input class="easyui-combobox" id="isCurrent"  name="isCurrent" style="width: 100px;">
							</td>
	                        <td align="right"><span>操作时间：</span></td>
							<td>
								<input name="startTime" type="text" style="width: 100px;" class="Wdate" id="startTime" value=""
									onClick="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'endTime\',{d:0});}'})">
							</td>
							<td align="center">
									---&nbsp;&nbsp;&nbsp;&nbsp;
						    </td>
						    <td>
								<input name="endTime" type="text" style="width: 100px;" class="Wdate" id="endTime" value=""
									onClick="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startTime\',{d:0});}'})">
							</td>
						</tr>
					</table>
				</form>
			</div>
        </div>
    </div>
</div>
<script type="text/javascript" src="${ctx}/static/js/sys/userState/sysUserStateChange_view.js?jsTimer=${jsTimer}"></script>
</body>

</html>